<template>
  <div>
    home{{ $store.state.count }}
    <el-button>222</el-button>
  </div>
</template>

<script setup lang="ts">
import { useStore } from '../../store'
import user from '@/api/user'
import { onMounted } from '@vue/runtime-core'
import { getLoginInfo } from '@/api/common'
const store = useStore()
console.log(store.state.foo)
console.log(user)
onMounted(() => {
  getLoginInfo().then(res => {
    console.log(res.logo_square)
  })
})
</script>

<style lang="scss" scoped>
  div{
    color: $color
  }
</style>
